package org.hongqi.common.senpec.sys.user;

import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.hongqi.common.senpec.base.mybatisplus.IBaseMapper;

import java.util.Collection;

@Mapper
@CacheNamespace
public interface UserMapper extends IBaseMapper<User> {

    Collection<User> selectAllByUsernameOrJobnoOrEmailOrPhoneOrIdCard(User user);

    Collection<User> selectAllByUsernameOrJobnoOrEmail(User user);

    User selectByUsername(String username);
}
